package com.ysynzehao.bean;

import lombok.Data;

import java.io.Serializable;

/**
 * niuzehao
 * 2018/11/30 14:48.
 */
@Data
public class User implements Serializable {

    private String userId;

    private String userName;

    private String password;

    private int age;

    private String address;

    public User(String userId, String userName, String password, int age, String address) {
        this.userId = userId;
        this.userName = userName;
        this.password = password;
        this.age = age;
        this.address = address;
    }

    @Override
    public String toString() {
        return "User{" +
                "userId='" + userId + '\'' +
                ", userName='" + userName + '\'' +
                ", password='" + password + '\'' +
                ", age=" + age +
                ", address='" + address + '\'' +
                '}';
    }
}
